package khm24980.basic;

public class J02_MyInfo {
	private static String name;
	private static int kg;
	private static int age;
	public static String name(String a){
		name = a;
		return a;
	}
	public static int kg(int a){
		kg = a;
		return a;
	}
	public static int age(int a){
		age = a;
		return a;
	}
	public static void main(String[] args) {
		System.out.println("이름 : "+name("dddd")+" 몸무게 : "+kg(222)+" 나이 : "+age(24));
		System.out.println("이름 : "+name+" 몸무게 : "+kg+" 나이 : "+age);
	}

}
